package com.educate.studentmanagementsystem.pojo.vo;

public class CourseVO {
    private Integer courseId;
    private String name;
    private Integer credit;

    public CourseVO() {
    }

    public CourseVO(Integer courseId, String name, Integer credit) {
        this.courseId = courseId;
        this.name = name;
        this.credit = credit;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "CourseVO{" +
                "courseId=" + courseId +
                ", name='" + name + '\'' +
                ", credit=" + credit +
                '}';
    }
}
